/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.springvision.yuanfeng.device.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.springvision.yuanfeng.device.entity.DeviceSet;
import com.springvision.yuanfeng.device.mapper.DeviceSetMapper;

/**
 * 设备告警Service
 * @author ycb
 * @version 2019-01-11
 */
@Service
@Transactional(readOnly = true)
public class DeviceSetService extends CrudService<DeviceSetMapper, DeviceSet> {

	public DeviceSet get(String id) {
		return super.get(id);
	}
	
	public List<DeviceSet> findList(DeviceSet deviceSet) {
		return super.findList(deviceSet);
	}
	
	public Page<DeviceSet> findPage(Page<DeviceSet> page, DeviceSet deviceSet) {
		return super.findPage(page, deviceSet);
	}
	
	@Transactional(readOnly = false)
	public void save(DeviceSet deviceSet) {
		super.save(deviceSet);
	}
	
	@Transactional(readOnly = false)
	public void delete(DeviceSet deviceSet) {
		super.delete(deviceSet);
	}
	
}